class TEST(object):
	def __getitem__(self,k):
		print(k)


a=TEST()
a['key']